import { Strategy } from "passport-local";
import { PassportStrategy } from "@nestjs/passport";
import { Injectable } from "@nestjs/common";
import { UserService } from "../user/user.service";


@Injectable()
export class LocalStrategy extends PassportStrategy(Strategy) {
  constructor(
    private readonly userService: UserService
  ) { super() }
  async validate(username: string, password: string) {
    return ''
    // return await this.userService.validateUser(username, password);
  }
}
